<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: src/Algorithm/IpRestoRestoPhase.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.17</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('IpRestoRestoPhase_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">IpRestoRestoPhase.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="IpRestoRestoPhase_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// Copyright (C) 2004, 2006 International Business Machines and others.</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">// All Rights Reserved.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">// This code is published under the Eclipse Public License.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">//</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">// Authors:  Carl Laird, Andreas Waechter     IBM    2005-02-11</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#ifndef __IPRESTORESTOPHASE_HPP__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#define __IPRESTORESTOPHASE_HPP__</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &quot;<a class="code" href="IpRestoPhase_8hpp.html">IpRestoPhase.hpp</a>&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &quot;<a class="code" href="IpIpoptAlg_8hpp.html">IpIpoptAlg.hpp</a>&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &quot;<a class="code" href="IpEqMultCalculator_8hpp.html">IpEqMultCalculator.hpp</a>&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceIpopt.html">Ipopt</a></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>{</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="foldopen" id="foldopen00024" data-start="{" data-end="};">
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html">   24</a></span><span class="keyword">class </span><a class="code hl_class" href="classIpopt_1_1RestoRestorationPhase.html">RestoRestorationPhase</a>: <span class="keyword">public</span> <a class="code hl_class" href="classIpopt_1_1RestorationPhase.html">RestorationPhase</a></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>{</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html#a0f0fea6e91a9fca43605a799358d8967">   30</a></span>   <a class="code hl_function" href="classIpopt_1_1RestoRestorationPhase.html#a0f0fea6e91a9fca43605a799358d8967">RestoRestorationPhase</a>();</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html#a3843ea906fcce509bc0024834e027a31">   33</a></span>   <span class="keyword">virtual</span> <a class="code hl_function" href="classIpopt_1_1RestoRestorationPhase.html#a3843ea906fcce509bc0024834e027a31">~RestoRestorationPhase</a>();</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html#acf47ce58a94e2ece8933e9fe79eda9c3">   36</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1RestoRestorationPhase.html#acf47ce58a94e2ece8933e9fe79eda9c3">InitializeImpl</a>(</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1OptionsList.html">OptionsList</a>&amp; options,</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>      <span class="keyword">const</span> std::string&amp; prefix</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>   );</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html#a44371a0d42ac7dd6791a5c74017601ca">   42</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1RestoRestorationPhase.html#a44371a0d42ac7dd6791a5c74017601ca">PerformRestoration</a>();</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html#ae49dbf5dad4b3ac021a084a165581472">   55</a></span>   <a class="code hl_function" href="classIpopt_1_1RestoRestorationPhase.html#ae49dbf5dad4b3ac021a084a165581472">RestoRestorationPhase</a>(</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1RestoRestorationPhase.html">RestoRestorationPhase</a>&amp;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>   );</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html#afd09c061eed81725143de0f53ea5b123">   60</a></span>   <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1RestoRestorationPhase.html#afd09c061eed81725143de0f53ea5b123">operator=</a>(</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1RestoRestorationPhase.html">RestoRestorationPhase</a>&amp;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>   );</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classIpopt_1_1RestoRestorationPhase.html#aec0ba0774bdd42064418d58cfcf8eb0d">   68</a></span>   <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1RestoRestorationPhase.html#aec0ba0774bdd42064418d58cfcf8eb0d">solve_quadratic</a>(</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1Vector.html">Vector</a>&amp; a,</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1Vector.html">Vector</a>&amp; b,</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>      <a class="code hl_class" href="classIpopt_1_1Vector.html">Vector</a>&amp;       v</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>   );</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>};</div>
</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>} <span class="comment">// namespace Ipopt</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aIpEqMultCalculator_8hpp_html"><div class="ttname"><a href="IpEqMultCalculator_8hpp.html">IpEqMultCalculator.hpp</a></div></div>
<div class="ttc" id="aIpIpoptAlg_8hpp_html"><div class="ttname"><a href="IpIpoptAlg_8hpp.html">IpIpoptAlg.hpp</a></div></div>
<div class="ttc" id="aIpRestoPhase_8hpp_html"><div class="ttname"><a href="IpRestoPhase_8hpp.html">IpRestoPhase.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1OptionsList_html"><div class="ttname"><a href="classIpopt_1_1OptionsList.html">Ipopt::OptionsList</a></div><div class="ttdoc">This class stores a list of user set options.</div><div class="ttdef"><b>Definition</b> <a href="IpOptionsList_8hpp_source.html#l00032">IpOptionsList.hpp:33</a></div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html">Ipopt::RestoRestorationPhase</a></div><div class="ttdoc">Recursive Restoration Phase for the MinC_1NrmRestorationPhase.</div><div class="ttdef"><b>Definition</b> <a href="IpRestoRestoPhase_8hpp_source.html#l00024">IpRestoRestoPhase.hpp:25</a></div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html_a0f0fea6e91a9fca43605a799358d8967"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html#a0f0fea6e91a9fca43605a799358d8967">Ipopt::RestoRestorationPhase::RestoRestorationPhase</a></div><div class="ttdeci">RestoRestorationPhase()</div><div class="ttdoc">Default Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html_a3843ea906fcce509bc0024834e027a31"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html#a3843ea906fcce509bc0024834e027a31">Ipopt::RestoRestorationPhase::~RestoRestorationPhase</a></div><div class="ttdeci">virtual ~RestoRestorationPhase()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html_a44371a0d42ac7dd6791a5c74017601ca"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html#a44371a0d42ac7dd6791a5c74017601ca">Ipopt::RestoRestorationPhase::PerformRestoration</a></div><div class="ttdeci">virtual bool PerformRestoration()</div><div class="ttdoc">Method called to perform restoration for the filter line search method.</div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html_acf47ce58a94e2ece8933e9fe79eda9c3"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html#acf47ce58a94e2ece8933e9fe79eda9c3">Ipopt::RestoRestorationPhase::InitializeImpl</a></div><div class="ttdeci">virtual bool InitializeImpl(const OptionsList &amp;options, const std::string &amp;prefix)</div><div class="ttdoc">Implementation of the initialization method that has to be overloaded by for each derived class.</div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html_ae49dbf5dad4b3ac021a084a165581472"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html#ae49dbf5dad4b3ac021a084a165581472">Ipopt::RestoRestorationPhase::RestoRestorationPhase</a></div><div class="ttdeci">RestoRestorationPhase(const RestoRestorationPhase &amp;)</div><div class="ttdoc">Copy Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html_aec0ba0774bdd42064418d58cfcf8eb0d"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html#aec0ba0774bdd42064418d58cfcf8eb0d">Ipopt::RestoRestorationPhase::solve_quadratic</a></div><div class="ttdeci">void solve_quadratic(const Vector &amp;a, const Vector &amp;b, Vector &amp;v)</div><div class="ttdoc">Method for solving the quadratic vector equation v^2 + 2a*v - b = 0.</div></div>
<div class="ttc" id="aclassIpopt_1_1RestoRestorationPhase_html_afd09c061eed81725143de0f53ea5b123"><div class="ttname"><a href="classIpopt_1_1RestoRestorationPhase.html#afd09c061eed81725143de0f53ea5b123">Ipopt::RestoRestorationPhase::operator=</a></div><div class="ttdeci">void operator=(const RestoRestorationPhase &amp;)</div><div class="ttdoc">Default Assignment Operator.</div></div>
<div class="ttc" id="aclassIpopt_1_1RestorationPhase_html"><div class="ttname"><a href="classIpopt_1_1RestorationPhase.html">Ipopt::RestorationPhase</a></div><div class="ttdoc">Base class for different restoration phases.</div><div class="ttdef"><b>Definition</b> <a href="IpRestoPhase_8hpp_source.html#l00036">IpRestoPhase.hpp:37</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Vector_html"><div class="ttname"><a href="classIpopt_1_1Vector.html">Ipopt::Vector</a></div><div class="ttdoc">Vector Base Class.</div><div class="ttdef"><b>Definition</b> <a href="IpVector_8hpp_source.html#l00047">IpVector.hpp:48</a></div></div>
<div class="ttc" id="anamespaceIpopt_html"><div class="ttname"><a href="namespaceIpopt.html">Ipopt</a></div><div class="ttdoc">This file contains a base class for all exceptions and a set of macros to help with exceptions.</div><div class="ttdef"><b>Definition</b> <a href="IpInexactAlgBuilder_8hpp_source.html#l00013">IpInexactAlgBuilder.hpp:14</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</body>
</html>
